Automattic\Jetpack\Sync\Modules\WooCommerce_HPOS_Orders A

Total Complexity 67
Dependencies 3
Dependents 2
Total lines 482
Lines of code 222
Logical lines of code 123
Comment lines 214
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
filter_order_data()
C
38 25 64
get_objects_by_id()
S
56 5 18
expand_order_object()
S
60 5 13
get_order_types_to_sync()
S
57 4 18
on_before_enqueue_order_trash_delete()
S
64 4 10
wc_get_order_status_keys()
S
57 2 19
get_object_by_id()
S
68 3 7
__construct()
S
71 2 6
init_listeners()
S
63 2 10
get_wc_order_status_with_prefix()
S
77 2 3
enqueue_full_sync_actions()
S
77 1 3
estimate_full_sync_actions()
S
69 1 6
get_metadata()
S
82 1 3
get_all_possible_order_status_keys()
S
72 1 5
name()
S
82 1 3
expand_order_objects()
S
68 1 7
table_name()
S
75 1 4
get_full_sync_actions()
S
81 1 3
id_field()
S
82 1 3
init_before_send()
S
79 1 3
init_full_sync_listeners()
S
80 1 3
table()
S
82 1 3
get_where_sql()
S
65 1 8